package Demo1;

//红富士苹果子类
public class RedFujiApple extends Fruit{
    public RedFujiApple() {
    }
    public RedFujiApple(String name, String origin, double price) {
        super(name, origin, price);
    }
    {
        setName("红富士苹果");
        setOrigin("山东烟台");
        setPrice(20.0);
    }
}
